@import './variables.less';
@import './common.less';

.home-wrapper {
    flex-direction: column;
    width: 100%;
    background-image: url('@{images}/home_Bg.png');
    background-repeat: no-repeat;
    background-size: 750px 320px;
    background-color: #F8F8F8;
}

.home-stat {
    border-radius: 24px;
    margin: 0 auto;
    width: 690px;
    background-color: #fff;

    .left {
        width: 345px;
        height: 213px;
        position: relative;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-left: 30px;

        .v {
            font-size: 48px;
            line-height: 57px;
        }
    }

    .right {
        width: 345px;
        padding-left: 20px;
        flex-direction: column;
        justify-content: center;

        .v {
            margin-left: 6px;
            font-size: 32px;
            line-height: 38px;
        }

        .first {
            margin-bottom: 30px;
        }
    }

    .t {
        font-family: @font;
        font-weight: 400;
        color: #999999;
        font-size: 24px;
        line-height: 33px;
        flex-shrink: 0;
    }

    .v {
        font-family: @font-rb;
        font-weight: 500;
        color: #303233;
    }

    .line {
        position: absolute;
        right: 0;
        top: 60px;
        width: 2px;
        height: 100px;
        background-color: #F2F4F5;
    }
}

.content {
    width: 702px;
    margin: 20px auto 0;
    flex-direction: column;

    .top {
        justify-content: space-between;
        margin-bottom: 22px;

        .left {
            background-image: url('@{images}/pic1.png');
        }

        .right {
            background-image: url('@{images}/pic2.png');
        }
    }

    .bottom {
        justify-content: space-between;

        .left {
            background-image: url('@{images}/pic3.png');
        }

        .right {
            background-image: url('@{images}/pic4.png');
        }
    }

    .left,
    .right {
        width: 340px;
        height: 160px;
        background-repeat: no-repeat;
        background-size: 340px 160px;
        padding: 38px 0 0 160px;
        flex-direction: column;

        .font {
            height: 34px;
            font-size: 26px;
            color: #000000;
            line-height: 34px;
        }

        .val {
            margin-top: 10px;
            height: 40px;
            font-weight: bold;
            font-size: 32px;
            color: #000000;
            line-height: 40px;
        }
    }
}

.home-content {
    padding: 0 30px;
}

.statList {
    flex-direction: column;
    margin-top: 38px;
    height: 100%;

    .listItem {
        flex-direction: column;
        margin-bottom: 24px;
        border-radius: 16px;

        .time {
            justify-content: space-between;
            margin-bottom: 20px;
            padding-right: 24px;
            padding-left: 24px;

            text {
                font-size: 24px;
                font-family: @font-md;
                font-weight: 400;
                color: #666;
                line-height: 32px;
            }

            .zc {
                margin-left: 28px;
            }
        }

        .itemWrap {
            background-color: #fff;
            border-radius: 24px;
            flex-direction: column;
            padding-bottom: 4px;
        }

        .item {
            height: 124px;
            align-items: center;
            margin: 0 30px;
            position: relative;
            border-top: 1px solid #E8E8E8;

            .classImg {
                width: 64px;
                height: 64px;
                margin-right: 23px;
            }

            .mid {
                flex-direction: column;

                .name {
                    font-size: 28px;
                    font-family: @font-sb;
                    font-weight: 600;
                    color: #252829;
                    line-height: 40px;
                }

                .des {
                    font-size: 22px;
                    font-family: @font;
                    font-weight: 400;
                    color: #999999;
                    line-height: 30px;
                }
            }

            .price {
                position: absolute;
                right: 24px+12px;
                font-size: 32px;
                font-family: @font-rb;
                font-weight: bold;
                color: #333333;
                line-height: 38px;
            }

            .more {
                width: 24px;
                height: 24px;
                position: absolute;
                right: 0;
                background-image: url('@{images}/icon-more.png');
                background-size: 24px auto;
                background-repeat: no-repeat;
            }
        }

        .noBoder {
            border-top: 1px solid transparent;
        }
    }
}

.home-add {
    width: 140px;
    height: 140px;
    background-image: url('@{images}/icon-home-add.png');
    background-repeat: no-repeat;
    background-size: 140px auto;
    position: absolute;
    right: 28px;
    bottom: 40px;
    z-index: 1;
}

.datePicker {
    .picker {
        font-size: 36px;
        font-family: @font;
        font-weight: 600;
        color: #fff;
        line-height: 45px;
        background-size: 40px 40px;
        background-image: url('@{images}/icon-down.png');
        background-repeat: no-repeat;
        background-position: right center;
        padding-right: 36px;
    }
}


.latestDay {
    width: 702px;
    margin: 0 auto 0;
    justify-content: space-between;
    height: 190px;
    background-size: 702px 190px;
    background-image: url('@{images}/date_Bg.png');
    background-repeat: no-repeat;
    padding: 44px 29px 0;

    .item {
        width: 80px;
        flex-direction: column;
        align-items: center;

        .week {
            margin-bottom: 20px;
            font-family: @font;
            font-weight: 500;
            font-size: 24px;
            color: #999999;
            line-height: 33px;
            text-align: center;
            font-style: normal;
        }

        .day {
            font-family: @font-rb;
            font-weight: 500;
            font-size: 32px;
            color: #333333;
            line-height: 35px;
            text-align: center;
            font-style: normal;
            height: 60px;

            &-on {
                width: 68px;
                height: 68px;
                border-radius: 68px;
                background-color: #3072FC;
                color: #fff;
            }
        }
    }
}